<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title></title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vue-resource@1.5.1"></script>
</head>

<body>
    <div id='app'>
        <ul>
            <li v-for = 'item in list'>
                <img :src="item.imgUrl" alt="">
            </li>
        </ul>
    </div>
    <script>
        const vm = new Vue({
            el: '#app',
            data: {
                list: null
            },
            created() {
                this.$http.get('http://59.111.104.104:8086/weChat/applet/course/banner/list').then(res => {
                    if (res.body.code == 0) {
                        console.log(res.body.data)
                        this.list = res.body.data
                    }
                })
            }
        })
    </script>
</body>

</html>